$primary-color: #363c54;
$normal-color: #9b9da9;
$hover-color: #469536;
$active-color: #008000;
$default-color: #040b29;
$blank-color: #ffffff;
$bg-color: #dbead5;
$border-color: #e6e7ec;

$default-border-radius: 4px;
@mixin dom-size($width, $height) {
  width: $width;
  height: $height;
}

@mixin text-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@mixin paragraph-ellipsis($line) {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $line;
  -webkit-box-orient: vertical;
}
@mixin flex-row-center {
  display: flex;
  flex-direction: row;
  align-items: center;
}

@mixin scroll-y {
  overflow: hidden;
  overflow-y: auto;
}
@mixin scroll-x {
  overflow: hidden;
  overflow-x: auto;
}
@mixin set-font($size, $color, $line-height) {
  font-size: $size;
  color: $color;
  line-height: $line-height;
}

@mixin font-size-scale($size) {
  font-size: 12px;
  transform: scale(calc($size / 12));
  transform-origin: center;
}
.flex-row {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}
.ant-divider-dashed {
  border-color: rgba(215, 215, 215, 1);
  border-top-color: rgba(215, 215, 215, 1);
}
.form-item {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 16px;
  line-height: 32px;
}
.form-item__label {
  flex: none;
  color: #000000d9;
  font-size: 14px;
  &.form-item__required::before {
    content: "*";
    display: inline-block;
    margin-right: 4px;
    color: #ff4d4f;
    font-size: 14px;
    line-height: inherit;
  }
}
.form-item__content {
  flex: 1;
}
.form-item__value {
  font-size: 14px;
  line-height: inherit;
}
.ant-form-inline .ant-form-item {
  margin-bottom: 16px;
}
$start: 1;
$end: 9;

@for $i from $start through $end {
  .ant-table-row-level-#{$i} span.table-cell-indent {
    padding-left: calc(15px * $i);
  }
}
